#pragma once

#ifndef _CEVENTPACKET_H_
#define _CEVENTPACKET_H_

#include "CBasicPacket.h"
#include "CChar.h"
extern "C" {
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
}



class CEventPacket : public CBasicPacket
{
//	lua_Number m_zoneId;
public:
	
	unsigned int m_eventId;
	unsigned short m_zoneId;

	unsigned int m_param[8];

	char m_eventScript[255];
	char m_eventScriptFunction[255];

	unsigned short numOfParams;

	CEventPacket(unsigned int eventId);

	~CEventPacket();
	void createPacket(CChar * schar);
};
#endif
